// tabBarComponent/tabBar.js
const app = getApp();
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        tabbar: {
            type: Object,
            value: {
                "backgroundColor": "#ffffff",
                "color": "#979795",
                "selectedColor": "#2691df",
                "list": [
					{
                        "pagePath": "/pages/agency/index",
                        "iconPath": "/assets/icon/home.png",
                        "selectedIconPath": "/assets/icon/home.png2",
                        "text": "首页"
                    },
                    {
                        "pagePath": "",
                        "iconPath": "/assets/icon/photo.png",
                        "isSpecial": true,
                        "text": "随手拍"
                    },
                    {
                        "pagePath": "/pages/agency/personal/persnal",
                        "iconPath": "/assets/icon/personal.png",
                        "selectedIconPath": "/assets/icon/personal2.png",
                        "text": "我的"
                    }
                ]
            }
        }
    },

    /**
     * 组件的初始数据
     */
    data: {
        isIphoneX: app.globalData.systemInfo.model == "iPhone X" ? true : false,
    },

    /**
     * 组件的方法列表
     */
    methods: {

    }
})